//
//  HomeBaseModel.h
//  XTXOneToOne
//
//  Created by Canny on 2018/10/29.
//  Copyright © 2018年 WK. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HomeBaseTabCellModel : NSObject

@property (nonatomic,strong)NSString *margin;// = 0;
@property (nonatomic,strong)NSString *max_price;//" = 0;
@property (nonatomic,strong)NSString *min_price;//" = 0;
@property (nonatomic,strong)NSString *pair_id;//" = 1;
@property (nonatomic,strong)NSString *price ;//= 0;
@property (nonatomic,strong)NSString *symbol ;//= ETHBTC; //交易对缩写
@property (nonatomic,strong)NSString *time ;//= 1540512000;
@property (nonatomic,strong)NSString *volume ;//= 0;

@property (nonatomic,strong)NSString *amount_precision;//数量经度
@property (nonatomic,strong)NSString *base_currency_id;//基础货币id
@property (nonatomic,strong)NSString *base_symbol;//基础货币缩写
@property (nonatomic,strong)NSString *ID;
@property (nonatomic,strong)NSString *is_lever;
@property (nonatomic,strong)NSString *logo;//
@property (nonatomic,strong)NSString *price_precision;//价格经度
@property (nonatomic,strong)NSString *quote_currency_id;//计价货id
@property (nonatomic,strong)NSString *quote_price_cny;
@property (nonatomic,strong)NSString *quote_price_usd;
@property (nonatomic,strong)NSString *quote_symbol;//计价货币缩写

//id    整型    交易对ID






//margin    浮点型    涨跌幅度
//max_price    浮点型    最高价
//min_price    浮点型    最低价
//price    浮点型    最新成交价
//volume    浮点型    成交总量
//ts    int    时间戳
//type    字符串    消息类型
//


@end



@interface HomeBaseModel : NSObject
singleton_h(HomeBaseModel)

@property (nonatomic,strong)NSArray * tickers;
@property (nonatomic,strong)NSString * ts;
@property (nonatomic,strong)NSString *type;

@property (nonatomic,strong)NSMutableArray *BTC;
@property (nonatomic,strong)NSMutableArray *ETH;
@property (nonatomic,strong)NSMutableArray *USDT;

@property (nonatomic,strong) NSString * KKURL ;
@property (nonatomic,strong) HomeBaseTabCellModel * selectedModel;

//从首页跳转过去->杠杆交易  是否要清空数据
@property (nonatomic,assign)BOOL isNeedRemoveDataSource;

@end

NS_ASSUME_NONNULL_END
